package com.yanyeori.framework.security.bo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 密码修改请求BO
 *
 * @author chenkuan 2023/1/14
 */
@Getter
@Setter
@NoArgsConstructor
public class PwdChangeReqBO implements Serializable {
    private static final long serialVersionUID = 1L;

    //原密码
    @NotEmpty(message = "Please enter the original password")
    private String password;

    //新密码
    @NotEmpty(message = "Please enter the new password")
    private String newPassword;
}
